//
//  ABCRepeateClick.h
//  ABCRepeateClick
//
//  Created by luoshizhen on 2024/7/26.
//

#import <Foundation/Foundation.h>

//! Project version number for ABCRepeateClick.
FOUNDATION_EXPORT double ABCRepeateClickVersionNumber;

//! Project version string for ABCRepeateClick.
FOUNDATION_EXPORT const unsigned char ABCRepeateClickVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <ABCRepeateClick/PublicHeader.h>

#ifndef ABCRepeateClick_h
#define ABCRepeateClick_h
///限制重复点击
#define abcPreventRepeatClickTime(seconds)\
static BOOL shoudPrevent; \
if (shoudPrevent) return; \
shoudPrevent = YES; \
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(seconds * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ \
    shoudPrevent = NO; \
}); \

#endif /* ABCRepeateClick_h */


#import <ABCRepeateClick/UIView+ABCRepeateClick.h>
#import <ABCRepeateClick/UIControl+ABCRepeateClick.h>
#import <ABCRepeateClick/ABCRepeatClickManager.h>


